Skip to content

refactor(components/widget): extract amount component#704

Merged
sidvishnoi merged 2 commits into
mainfrom
widget-amount-component
May 8, 2026
Merged

refactor(components/widget): extract amount component#704
sidvishnoi merged 2 commits into
mainfrom
widget-amount-component

Conversation

@sidvishnoi

@sidvishnoi sidvishnoi commented May 7, 2026

Copy link
Copy Markdown
Member

Extracted from #696

Cleanup opportunity for future: create a base.css which includes some common styles that we use across components. Right now, I'm importing confirmation.css as some .form-field styles are used in this amount as well as "Note" input.

@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

Deployment results

Worker Alias URL Outcome
API - staging success
CDN - 9ec1355b success
App - 0aeafa61 success

Logs #25552015882

@DarianM DarianM left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested. looks good. much improved. a small improvement nit. if I hit Delete and type the exact same amount again in the input field, it shouldn't fetch quote because I already have it for that amount.

@sidvishnoi

Copy link
Copy Markdown
Member Author

it shouldn't fetch quote because I already have it for that amount

Good catch. Will look into caching in general, not just on last amount, as a follow-up.

@sidvishnoi sidvishnoi merged commit a49d43b into main May 8, 2026
5 checks passed
@sidvishnoi sidvishnoi deleted the widget-amount-component branch May 8, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants